Brush(Mode, Value)

Changes the color and pattern used when drawing the background or filling in graphical shapes. You can select one of predefined patterns by using the Style mode or load a pattern from an image by using the Load mode.

Parameters
  • Mode. Specifies the mode to use. This parameter accepts a WideString value.
  • Value. Specifies the value for the selected mode. This parameter accepts a WideString value.
Examples
Copy
Graphic.Brush('Load','c:\\MyImages\\SoapBubbles.bmp');
Graphic.Brush('Color','Blue');
Graphic.Brush('Fill','10,10,50,50');
Graphic.Brush('Style','cross');